var mongoose = require('mongoose');
mongoose.Promise = global.Promise;
mongoose.connect("mongodb://localhost/test",{useMongoClient:true},function(e){
  console.log(e,'=======error==========');
  console.log("ok ------------------->")
})